package com.joycessh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author Joycessh
 * @Description
 * @Date 8/17/19 2:41 PM
 */
@Data
public class BaseEntity implements Serializable {
    public static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Date createTime;
    private Date updateTime;

}
